import request from '@/utils/request.js'

// 登录
export function authorizations (data) {
  return request({
    url: '/v1_0/authorizations',
    method: 'post',
    noToken: true, // 不需要加token
    data
  })
}

// 发送验证码
export function smsCodes (mobile) {
  return request({
    url: `/v1_0/sms/codes/${mobile}`
  })
}
